This folder is a replication package for Eliason et al. (2024). It is, with the
exception of needing non-publicly available data added to the "data/raw" subfolder,
completely self-contained. That is, to replicate the results, you need only add
the USRDS and NBER Medicare data to the raw data subfolder, alter the global macros
in the "code/0_master.do" file to the location(s) of this folder, and run the code.

The "code" folder contains the Stata code that produces our results. "0_master.do"
runs all the other code and includes information on what each other code file
requires as inputs and produces as outputs. This file is separated into sections
of code that rely on publicly available data, NBER Medicare data, and USRDS data,
with switches to indicate the data available to you. Within these sections, the
code is ordered by where in the paper its output appears, subject to dependencies.
Any code that produces a statistic referenced in the paper notes where in the
paper that statistic is referenced.

The "data" folder is used to hold all the data used and created by the Stata code.
It contains two subfolders.

The "raw" subfolder currently contains all the publicly available raw data used in
this project. The non-publicly available data from USRDS and NBER must be added to
this folder. Information on accessing the USRDS and NBER Medicare data can be found
at https://www.niddk.nih.gov/about-niddk/strategic-plans-reports/usrds/
for-researchers/standard-analysis-files and https://www.nber.org/research/data/
medicare-claims-data-nber, respectively.

The "cleaned" subfolder is used to hold all the data sets created by the code. It
currently contains data sets created by the code that rely only on the publicly
available data currently contained in the "raw" subfolder.

The "estimates" folder is used to hold all the estimates saved for later use in
creating tables and figures. It is currently empty.

The "logs" folder is used to hold the log files created by the code. It currently
contains all the log files that report statistics referenced in the paper.

The "output" folder contains all the tables and figures produced by the code. It
also contains an Excel file that performs the calculations underlying Table A24.

Any questions about this replication package can be directed to Riley League,
whose email address as of the posting of this package is league@illinois.edu.